<%--
	 +----------------------------------------------------------------------+
	 |																		|
	 | 银联在线 配置文件														|
	 |																		|		
	 +----------------------------------------------------------------------+
--%>
<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="system.pay.ylzf" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>
<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span>银联在线支付</span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" id="configForm" method="post" action="paymentMethod.html" onsubmit="return validateFormWithMsg(this);">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="<fmt:message key="system.pay.kkk"/>" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>	
					<ul class="intro">
						
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.configItem"/></h4></th>
			</tr>
			<tr>
				<th  class="label_width_1">
					商户号(<span class="red">*</span>):
				</th>
				<td>
					<input class="inputtxt" style="width: 350px" name="merId" value="${paymentGateway.configData.merId}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr>
				<th>
					商户签名私钥(<span class="red">*</span>):
				</th>
				<td>
					<input class="inputtxt" style="width: 350px" name="merPrk" value="${paymentGateway.configData.merPrk}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr>
				<th>
					银联签名公钥(<span class="red">*</span>):
				<td>
					<input class="inputtxt" style="width: 350px" name="pgPubk" value="${paymentGateway.configData.pgPubk}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr> 
				<th>
					<fmt:message key="system.pay.title3"/>(<span class="red">*</span>):
				</th>
				<td>
					<select name="type" style="width:200px" class="selecttxt" validConf="required">
						<option value="0" <c:if test="${paymentGateway.configData.type=='0'}">selected</c:if>><fmt:message key="system.pay.ceshi"/></option>
						<option value="1" <c:if test="${paymentGateway.configData.type=='1'}">selected</c:if>><fmt:message key="system.pay.zhenshi"/></option>
					</select>
				</td>
			</tr> 
			<tr>
				<th><fmt:message key="system.pay.zbz"/>(<span class="red">*</span>):</th>
				<td><fmt:message key="system.pay.ren"/></td>
			</tr>
		  
		</table>
	</form>
</div>

<script>
$j(document).ready(function(){
	autoApplyValidate($j('#configForm')[0]);
});
</script>
